/**p106/457
 * */
package session2.statics;

public class Dog extends Animal {
	static void doStuff() {
		System.out.println("Dog.java: doStuff()");
	}

	public static void main(String[] args) {
		Animal a[] = { new Animal(), new Dog(), new Animal() };

		for (int x = 0; x < a.length; x++) {
			a[x].doStuff();
		}
	}
}
